﻿#include<iostream>
#include<string>
#include<sstream>
using namespace std;
using std::string;
using std::stringstream;
int main() {
	string cIn = "123";

	int x = std::stoi(cIn);
	cout << x << endl;//123

	stringstream strS;
	strS << "你好" << "123";//字符串流
	string strX = strS.str();//从字符串流中提取字符串
	cout << strX << endl;//
}